﻿<UserControl x:Class="VideoBrowser.SearchResult"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto">
    <Grid>
        <StackPanel Name="NoRecord" Visibility="Hidden" VerticalAlignment="Center" HorizontalAlignment="Center">
            <TextBlock >No Video Found!</TextBlock>
        </StackPanel>
        <ListBox Name="VideoList" Visibility="Hidden" >
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel>
                        <TextBlock FontSize="6" FontFamily="Airal" Text=" "></TextBlock>
                        <TextBlock>
                            <Hyperlink NavigateUri="{Binding URL}" RequestNavigate="Hyperlink_RequestNavigate">
                                <TextBlock FontSize="12" FontFamily="Airal" FontWeight="Bold" Text="{Binding Title}"></TextBlock>
                            </Hyperlink>
                        </TextBlock>
                        <TextBlock FontSize="11" FontFamily="Airal" Text="{Binding Tags}"></TextBlock>
                        <TextBlock FontSize="11" FontFamily="Airal" Text="{Binding Description}"></TextBlock>
                        <TextBlock FontSize="6" FontFamily="Airal" Text=" "></TextBlock>
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
</UserControl>
